package com.muyu.system.req;

import com.muyu.common.core.annotation.Excel;
import com.muyu.danmo.domain.DanmoAddresses;
import com.muyu.system.domain.DanmoShoppingSpecification;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 商品规格展示对象
 *
 * @author kunzong
 * @date 2024-09-29
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoSpecificationDto {

    /**
     * 关联商品id
     */
    @Excel(name = "关联商品id")
    private Long shoppingId;

    /**
     * 购买数量
     */
    private Long num;

    /**
     * 地址ID
     */
    @Excel(name = "地址ID")
    private Long addressId;

    /**
     * 地址信息
     */
    private DanmoAddresses danmoAddresses;

    /**
     * 商品规格对象
     */
    private List<DanmoShoppingSpecification> danmoShoppingSpecification;
}
